package com.sxg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxg.entity.SxgCommentEntity;
import com.sxg.page.PageResult;
import com.sxg.query.SxgCommentChildQuery;
import com.sxg.query.SxgCommentQuery;
import com.sxg.utils.code.AjaxResult;
import com.sxg.vo.SxgCommentVO;
import com.sxg.vo.req.CommentReqVo;
import com.sxg.vo.resp.CommentRespVo;

import java.util.List;

/**
 * 评论表
 *
 * @author 浪漫写尽歌谱 3298751420@qq.com
 * @since 1.0.0 2024-03-07
 */
public interface SxgCommentService extends IService<SxgCommentEntity> {

    AjaxResult page(SxgCommentQuery query);

    void save(SxgCommentVO vo);

    void update(SxgCommentVO vo);

    void delete(List<Long> idList);

    AjaxResult save(CommentReqVo vo);

    AjaxResult childe(SxgCommentChildQuery query);
}